/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 里程坎级Entity
 * @author 李超辉
 * @version 2017-11-22
 */
public class MileageScale extends DataEntity<MileageScale> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目 父类
	private String name;		// 分级区间
	private String region;		// 区域
	private Double min;		// 最小值
	private Double max;		// 最大值
	private String projectName; //项目名称
	
	public MileageScale() {
		super();
	}

	public MileageScale(String id){
		super(id);
	}

	public MileageScale(Project project){
		this.project = project;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="分级区间", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="区域", align=2, sort=3)
	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}
	
	@ExcelField(title="最小值", align=2, sort=4)
	public Double getMin() {
		return min;
	}

	public void setMin(Double min) {
		this.min = min;
	}
	
	@ExcelField(title="最大值", align=2, sort=5)
	public Double getMax() {
		return max;
	}

	public void setMax(Double max) {
		this.max = max;
	}

	@ExcelField(title = "项目名称",align = 2,sort = 6)
	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
}